package com.bf.electroplating.pojo.vo.contingencyplan;

import com.bf.electroplating.pojo.vo.attachment.AttachmentVo;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotBlank;
import lombok.Data;

import java.util.Date;
import java.util.List;
@Data
@Schema(description = "应急预案VO")
public class ComContingencyPlanVO {

	@Schema ( description = "id" )
	private String id;

	@Schema ( description = "企业ID" )
	@NotBlank ( message = "企业不能为空")
	private String companyId;

	@Schema ( description = "企业名称" )
	private String companyName;

	@Schema ( description = "备案时间" )
	@JsonFormat ( pattern = "yyyy-MM-dd" , timezone = "GMT+8")
	private Date recordTime;

	@Schema ( description = "附件" )
	private List < AttachmentVo > attFile;


}
